package io.dy;

import io.dy.bo.StudentBO;
import io.dy.converter.StudentConverter;
import io.dy.vo.StudentVO;
import org.junit.Test;

import java.util.Map;

import static io.dy.InitData.initStudentBO;

/**
 * @author : dmj
 * @date: 2024/6/3 5:20 下午
 * @description:
 */
public class Main {

    @Test
    public void test_01(){
//        StudentBO studentBO = initStudentBO();
//
//        Map<String, Object> map = StudentConverter.INSTANCE.bo2Map(studentBO);
//
//        System.out.println(map);
    }

    @Test
    public void test_02() {
        StudentBO studentBO = initStudentBO();

        StudentVO studentVO = StudentConverter.INSTANCE.bo2vo_03(studentBO);

        System.out.println(studentVO);
    }
}
